
public class Teste {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		 StringBuffer className = new StringBuffer();
	     className.append("nome.java");
		 className.delete((className.length()- 5),(className.length()));
		
		 System.out.println(className);

	}

	private static boolean isForInvariantChecking(String [] args){
	
		boolean inv = false;
		
	    for (int i = 0; i < args.length - 1; i++)
	    {
	    if ( args[i].toLowerCase().equals("-inv") )
	      inv = true;
	    else
	        {
	           System.exit(0);
	        }
	    }

		return inv;
		
	}
}
